<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="pro-property-area clearfix">
  <div class="pro-meta-area">
    <h1 id="pro-name">${goods.name}</h1>

    <!-- 插入 商品简介-广告语-->
    <div class="pro-slogan" id="skuPromWord"></div>
    <div class="h10"></div>
    <div class="line"></div>
    <div class="pro-price">
      <span id="">
        <label>&nbsp;&nbsp;价&nbsp;&nbsp;&nbsp;&nbsp;格：</label><b>¥&nbsp;${goods.price}万</b>
      </span>
    </div>
    <div class="pro-coding">
      <label>面&nbsp;&nbsp;&nbsp;&nbsp;积：</label>
      <span ><b>${goods.housesize}㎡</b></span>
    </div>
    <div class="pro-coding">
      <label>房&nbsp;&nbsp;&nbsp;&nbsp;型：</label>
      <span><b>${goods.room}室${goods.hall}厅${goods.toilet}卫</b></span>
    </div>
    <div class="pro-coding">
      <label>朝&nbsp;&nbsp;&nbsp;&nbsp;向：</label>
      <span><b>${goods.orientation}</b></span>
    </div>
    <div class="pro-coding">
      <label>装&nbsp;&nbsp;&nbsp;&nbsp;修：</label>
      <span><b>${goods.decorate}</b></span>
    </div>
    <div class="pro-coding">
      <label>楼&nbsp;&nbsp;&nbsp;&nbsp;层：</label>
      <span><b>${goods.housefloor}</b></span>
    </div>
    <div class="pro-coding">
      <label>小&nbsp;&nbsp;&nbsp;&nbsp;区：</label>
      <span><b>${goods.community_name}[${myfn:address(goods.area_id)}]</b></span>
    </div>
    <div class="pro-evaluate hottags">
      <label>商品标签：</label>
      <span><a href="##">${goods.sys_type_name}</a></span>
    </div>


    <div class="h10"></div>
    <div class="line"></div>
    <div class="h15"></div>

    <div class="pro-service">
      <label>公&nbsp;&nbsp;&nbsp;&nbsp;司：</label>${seller.name}
    </div>
    <c:if test="${shop!=null}">
      <div class="pro-service">
        <label>门&nbsp;&nbsp;&nbsp;&nbsp;店：</label>${shop.name} <a href="${ctx}/shop/index.htm?shopId=${shop.id}" class="broker_more broker_more_bg"> >>进入门店</a>
      </div>
      <div class="pro-service">
        <label>门店地址：</label>${shop.address}
      </div>
    </c:if>
    <div class="pro-service">
      <label>服&nbsp;务&nbsp;商：</label>由易房网提供售后服务
    </div>
    <c:if test="${xiaoer!=null}">
    <div class="pro-service">
      <div class="broker_icon broker_tel dark_grey"><i class="p_icon icon_tel"></i>${myfn:formatPhone(xiaoer.phone)} &nbsp;&nbsp;${xiaoer.aliasName}</div>
      <%--<a href="###" class="bro-chat-box only_open_chat">
        <i class="p_icon i-chat"></i>
        <span class="txt">预约看房</span>
      </a>--%>
    </div>
    </c:if>




    <!-- 商品简介-购买数量-start -->
    <%--<div id="pro-quantity-area" class="pro-stock-area">
      <dl class="clearfix">
        <dt>购买数量：</dt>
        <dd>
			<span class="stock-area">
              <a href="javascript:;" class="icon-minus-2 vam" title="减"><span>-</span></a>
              <input id="pro-quantity" type="text" class="vam text" value="1" autocomplete="off">
              <a href="javascript:;" class="icon-plus-2 vam" title="加"><span>+</span></a>
   			</span>
        </dd>
      </dl>
    </div>--%>
    <!--商品简介-购买数量-end -->

  </div>
  <!--end pro-meta-area-->


 <%-- <div id="pro-select-sku" class="pro-selected">您选择了<b>白色</b></div>--%>


  <!--商品简介-提交操作 -->
  <div id="pro-operation" class="pro-action-area" style="visibility: visible;">

  <c:if test="${goods.state=='1'}">
    <a href="javascript:addCart('${goods.id}');"  class="button-add-cart button-style-1" title="加入购物车">
      <span>加入购物车</span>
    </a>
    <a href="${ctx}/order/goOrder.htm?goodsId=${goods.id}"  class="button-buy-start button-style-1" title="立即购买">
      <span>立即购买</span>
    </a>
  </c:if>

  <c:if test="${goods.state=='2'}">
    <a href="javascript:;" class="button-buy-start button-style-1" title="立即购买">
      <span>该商品正在交易中</span>
    </a>
  </c:if>
  </div>

  <!--弹出层-成功添加到购物车 -->
  <script>
    function addCart(goodsId){
      $.post("${ctx}/cartCookieAjax.htm",{
        goodsId:goodsId
      },function(data){
        if(data.success){
          alert("添加成功！");
        }
      },"json");
    }
  </script>

</div>
